#!/bin/bash
pid=`ps -W|grep sshd|awk '{print $1}'|xargs echo`
nohup kill -9 $pid && sleep 1 && cygrunsrv -S sshd & 2>&1 >/dev/null
